<%@ page import="friendofmine.Activite" %>



<div class="fieldcontain ${hasErrors(bean: activiteInstance, field: 'admin', 'error')} required">
	<label for="admin">
		<g:message code="activite.admin.label" default="Admin" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="admin" name="admin.id" from="${friendofmine.Membre.list()}" optionKey="id" required="" value="${activiteInstance?.admin?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: activiteInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="activite.description.label" default="Description" />
		
	</label>
	<g:textField name="description" value="${activiteInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: activiteInstance, field: 'participants', 'error')} ">
	<label for="participants">
		<g:message code="activite.participants.label" default="Participants" />
		
	</label>
	<g:select name="participants" from="${friendofmine.Membre.list()}" multiple="multiple" optionKey="id" size="5" value="${activiteInstance?.participants*.id}" class="many-to-many"/>
</div>

<div class="fieldcontain ${hasErrors(bean: activiteInstance, field: 'titre', 'error')} ">
	<label for="titre">
		<g:message code="activite.titre.label" default="Titre" />
		
	</label>
	<g:textField name="titre" value="${activiteInstance?.titre}"/>
</div>

